<?php
namespace app\modules\adminapi\controllers;

use fate\http\Request;
use app\staticmodels\SystemConfig;

class EditsystemconfigController extends \app\modules\adminapi\ForceLoginPure {

    public function run() {
        $req = Request::getInstance();
        $data = $req->getParameter('data');

        SystemConfig::set($data);

        $this->ajaxReturn(null);
    }

}
